package com.mspbots.sync.callback.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * com.mspbots.sync.callback.NoticeController
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/7/12
 */
@Data
public class CallbackMessage {

    @JsonProperty("ID")
    private Long id;

    @JsonProperty("FromUrl")
    private String fromUrl;

    @JsonProperty("CompanyId")
    private String companyId;

    @JsonProperty("MemberId")
    private String memberId;

    @JsonProperty("Action")
    private CallbackAction action;

    @JsonProperty("Type")
    private CallbackEntityType type;

    @JsonProperty("Entity")
    private String entity;
}
